import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { LayoutSimpleComponent } from '@layout/simple/simple.component';

const routes: Routes = [
  { path: 'modal', component: LayoutSimpleComponent, loadChildren: () => import('./modal/modal.module').then(m => m.ModalModule) },
  { path: 'exception', component: LayoutSimpleComponent, loadChildren: () => import('./result/result.module').then(m => m.ResultModule) }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CustomRoutingModule {}
